package org.feng.common;

import lombok.Getter;

/**
 * 响应实体
 *
 * @version v1.0
 * @author: fengjinsong
 * @date: 2023年08月24日 23时26分
 */
@Getter
public class ResponseEntity<T> {

    private final T data;
    private final String message;
    private final String code;

    public ResponseEntity(String message, String code, T data) {
        this.data = data;
        this.message = message;
        this.code = code;
    }
}
